package com.cr.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 合格证打印统计对象 tb_qualified_cert_print_count
 * 
 * @author tang
 * @date 2025-09-25
 */
public class TbQualifiedCertPrintCount implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 合格证ID */
    private String certId;

    /** 关联用户ID */
    private String userId;

    /** 主体信息ID */
    private String entityId;

    /** 打印张数 */
    private Integer quantity;

    /** 打印时间 */
    private Date printDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCertId(String certId) 
    {
        this.certId = certId;
    }

    public String getCertId() 
    {
        return certId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setEntityId(String entityId) 
    {
        this.entityId = entityId;
    }

    public String getEntityId() 
    {
        return entityId;
    }

    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }

    public void setPrintDate(Date printDate) 
    {
        this.printDate = printDate;
    }

    public Date getPrintDate() 
    {
        return printDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("certId", getCertId())
            .append("userId", getUserId())
            .append("entityId", getEntityId())
            .append("quantity", getQuantity())
            .append("printDate", getPrintDate())
            .toString();
    }
}
